package VO;

import java.io.Serializable;

import PO.*;

public class TeachVO implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int teacherID;
	private int lessonID;
	
	public TeachVO (TeachPO po)
	{
		

		this.lessonID = po.getLesson();
		this.teacherID = po.getTeacher();
	}
	public TeachPO getPO()
	{
		return new TeachPO(teacherID,lessonID);
	}
	public TeachVO(int t,int ls)
	{

		this.teacherID = t;
		this.lessonID = ls;
	}

	public int getTeacher()
	{
		
		return teacherID;
		
	}
	public int getLesson()
	{
		return lessonID;
		
	}

}
